home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_ORBit.idb / usr / freeware / include / orb / dii.h.z / dii.h
Encoding:
C/C++ Source or Header  |  1999-07-16  |  3.6 KB  |  146 lines

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
  2.  
  3. /*
  4.  *  ORBit: A CORBA v2.2 ORB
  5.  *
  6.  *  Copyright (C) 1998 Richard H. Porter
  7.  *
  8.  *  This library is free software; you can redistribute it and/or
  9.  *  modify it under the terms of the GNU Library General Public
  10.  *  License as published by the Free Software Foundation; either
  11.  *  version 2 of the License, or (at your option) any later version.
  12.  *
  13.  *  This library is distributed in the hope that it will be useful,
  14.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  *  Library General Public License for more details.
  17.  *
  18.  *  You should have received a copy of the GNU Library General Public
  19.  *  License along with this library; if not, write to the Free
  20.  *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  *
  22.  *  Author: Dick Porter <dick@cymru.net>
  23.  *
  24.  */
  25.  
  26. #ifndef _ORBIT_DII_H_
  27. #define _ORBIT_DII_H_
  28.  
  29. #include "orb/orbit_types.h"
  30. #include "orb/interface_repository.h"
  31.  
  32. extern CORBA_Status CORBA_Request_add_arg(
  33.     CORBA_Request req,
  34.     CORBA_Identifier name,
  35.     CORBA_TypeCode arg_type,
  36.     void *value,
  37.     CORBA_long len,
  38.     CORBA_Flags arg_flags,
  39.     CORBA_Environment *ev);
  40.  
  41. extern CORBA_Status CORBA_Request_invoke(
  42.     CORBA_Request req,
  43.     CORBA_Flags invoke_flags,
  44.     CORBA_Environment *ev);
  45.  
  46. extern CORBA_Status CORBA_Request_delete(
  47.     CORBA_Request req,
  48.     CORBA_Environment *ev);
  49.  
  50. extern CORBA_Status CORBA_Request_send(
  51.     CORBA_Request req,
  52.     CORBA_Flags invoke_flags,
  53.     CORBA_Environment *ev);
  54.  
  55. extern CORBA_Status CORBA_send_multiple_requests(
  56.     CORBA_Request reqs[],
  57.     CORBA_Environment *env,
  58.     CORBA_long count,
  59.     CORBA_Flags invoke_flags);
  60.  
  61. extern CORBA_Status CORBA_Request_get_response(
  62.     CORBA_Request req,
  63.     CORBA_Flags response_flags,
  64.     CORBA_Environment *ev);
  65.  
  66. extern CORBA_Status CORBA_get_next_response(
  67.     CORBA_Environment *env,
  68.     CORBA_Flags response_flags,
  69.     CORBA_Request *req);
  70.  
  71. extern CORBA_Status CORBA_NVList_add_item(
  72.     CORBA_NVList *list,
  73.     CORBA_Identifier item_name,
  74.     CORBA_TypeCode item_type,
  75.     void *value,
  76.     CORBA_long value_len,
  77.     CORBA_Flags item_flags,
  78.     CORBA_Environment *ev);
  79.  
  80. extern void ORBit_NamedValue_free(
  81.     CORBA_NamedValue *nv);
  82.  
  83.  
  84. extern CORBA_Status CORBA_ORB_create_list(
  85.     CORBA_ORB orb,
  86.     CORBA_long count,
  87.     CORBA_NVList **new_list,
  88.     CORBA_Environment *ev);
  89.  
  90. extern CORBA_Status CORBA_ORB_create_operation_list(
  91.     CORBA_ORB orb,
  92.     CORBA_OperationDef oper,
  93.     CORBA_NVList **new_list,
  94.     CORBA_Environment *ev);
  95.  
  96. extern CORBA_Status CORBA_NVList_free(CORBA_NVList *list,
  97.                       CORBA_Environment *ev);
  98.  
  99. extern CORBA_Status CORBA_NVList_free_memory(
  100.     CORBA_NVList *list,
  101.     CORBA_Environment *ev);
  102.  
  103. extern CORBA_Status CORBA_NVList_get_count(
  104.     CORBA_NVList *list,
  105.     CORBA_long *count,
  106.     CORBA_Environment *ev);
  107.  
  108. extern CORBA_Status CORBA_Context_set_one_value(
  109.     CORBA_Context ctx,
  110.     CORBA_Identifier prop_name,
  111.     char *value,
  112.     CORBA_Environment *ev);
  113.  
  114. extern CORBA_Status CORBA_Context_set_values(
  115.     CORBA_Context ctx,
  116.     CORBA_NVList values,
  117.     CORBA_Environment *ev);
  118.  
  119. extern CORBA_Status CORBA_Context_get_values(
  120.     CORBA_Context ctx,
  121.     CORBA_Identifier start_scope,
  122.     CORBA_Flags op_flags,
  123.     CORBA_Identifier prop_name,
  124.     CORBA_NVList **values,
  125.     CORBA_Environment *ev);
  126.  
  127. extern CORBA_Status CORBA_Context_delete_values(
  128.     CORBA_Context ctx,
  129.     CORBA_Identifier prop_name,
  130.     CORBA_Environment *ev);
  131.  
  132. extern CORBA_Status CORBA_Context_create_child(
  133.     CORBA_Context ctx,
  134.     CORBA_Identifier ctx_name,
  135.     CORBA_Context *child_ctx,
  136.     CORBA_Environment *ev);
  137.  
  138. extern CORBA_Status CORBA_Context_delete(
  139.     CORBA_Context ctx,
  140.     CORBA_Flags del_flags,
  141.     CORBA_Environment *ev);
  142.  
  143. extern const int sizeofs[], container_sizeofs[];
  144.  
  145. #endif /* _ORBIT_DII_H_ */
  146.